package model;

import lombok.Getter;
import lombok.Setter;

/**
 * 返回给前端的封装对象
 */
@Getter
@Setter
public class ResultData {
    private int state;//返回的状态码（业务状态码）
    private Object data;//返回的数据
    private String msg;//返回信息

    public  ResultData(){

    }
    public ResultData(int state, Object data, String msg) {
        this.state = state;
        this.data = data;
        this.msg = msg;
    }
}
